package com.banmao.mall.model.vo.client.cart;

import com.banmao.mall.model.pojo.Address;
import com.banmao.mall.model.pojo.Cart;

import java.util.List;

public class CartCheckoutVO {

    /**
     * grouponPrice : 0
     * grouponRulesId : 0
     * checkedAddress : {"id":7,"name":"天明","userId":1,"provinceId":2,"cityId":33,"areaId":392,"address":"东城区1号3栋","mobile":"15234567896","isDefault":true,"addTime":"2021-04-22 01:45:12","updateTime":"2021-05-12 21:38:43","deleted":false}
     * actualPrice : 108888
     * orderTotalPrice : 108888
     * couponPrice : 0
     * availableCouponLength : 0
     * couponId : 0
     * freightPrice : 0
     * checkedGoodsList : [{"id":174,"userId":1,"goodsId":1181011,"goodsSn":"1006012","goodsName":"测试用","productId":389,"price":0,"number":2,"specifications":["77","78","79","214"],"checked":true,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/4feutuzgdomhf8hdplgg.jpg","addTime":"2021-05-12 22:49:45","updateTime":"2021-05-12 23:23:28","deleted":false},{"id":181,"userId":1,"goodsId":1181031,"goodsSn":"120","goodsName":"八面汉剑","productId":356,"price":10000,"number":2,"specifications":["777","S"],"checked":true,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/vhqyqg72cctkxczrvh9n.jpg","addTime":"2021-05-12 23:11:02","updateTime":"2021-05-12 23:23:29","deleted":false},{"id":182,"userId":1,"goodsId":1181019,"goodsSn":"202105520","goodsName":"AE86","productId":355,"price":88888,"number":1,"specifications":["11111","9999"],"checked":true,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/d5dzxxbb1mgpfs4ptl7v.jpg","addTime":"2021-05-12 23:14:05","updateTime":"2021-05-12 23:23:30","deleted":false}]
     * goodsTotalPrice : 108888
     * addressId : 7
     */

    private int grouponPrice;
    private int grouponRulesId;
    private Address checkedAddress;
    private int actualPrice;
    private int orderTotalPrice;
    private int couponPrice;
    private int availableCouponLength;
    private int couponId;
    private int freightPrice;
    private int goodsTotalPrice;
    private int addressId;
    private List<Cart> checkedGoodsList;

    public int getGrouponPrice() {
        return grouponPrice;
    }

    public void setGrouponPrice(int grouponPrice) {
        this.grouponPrice = grouponPrice;
    }

    public int getGrouponRulesId() {
        return grouponRulesId;
    }

    public void setGrouponRulesId(int grouponRulesId) {
        this.grouponRulesId = grouponRulesId;
    }


    public int getActualPrice() {
        return actualPrice;
    }

    public void setActualPrice(int actualPrice) {
        this.actualPrice = actualPrice;
    }

    public int getOrderTotalPrice() {
        return orderTotalPrice;
    }

    public void setOrderTotalPrice(int orderTotalPrice) {
        this.orderTotalPrice = orderTotalPrice;
    }

    public int getCouponPrice() {
        return couponPrice;
    }

    public void setCouponPrice(int couponPrice) {
        this.couponPrice = couponPrice;
    }

    public int getAvailableCouponLength() {
        return availableCouponLength;
    }

    public void setAvailableCouponLength(int availableCouponLength) {
        this.availableCouponLength = availableCouponLength;
    }

    public int getCouponId() {
        return couponId;
    }

    public void setCouponId(int couponId) {
        this.couponId = couponId;
    }

    public int getFreightPrice() {
        return freightPrice;
    }

    public void setFreightPrice(int freightPrice) {
        this.freightPrice = freightPrice;
    }

    public int getGoodsTotalPrice() {
        return goodsTotalPrice;
    }

    public void setGoodsTotalPrice(int goodsTotalPrice) {
        this.goodsTotalPrice = goodsTotalPrice;
    }

    public int getAddressId() {
        return addressId;
    }

    public void setAddressId(int addressId) {
        this.addressId = addressId;
    }

    public Address getCheckedAddress() {
        return checkedAddress;
    }

    public void setCheckedAddress(Address checkedAddress) {
        this.checkedAddress = checkedAddress;
    }

    public List<Cart> getCheckedGoodsList() {
        return checkedGoodsList;
    }

    public void setCheckedGoodsList(List<Cart> checkedGoodsList) {
        this.checkedGoodsList = checkedGoodsList;
    }
}
